package zhihui.mobile.ui.shop.order;

import java.util.List;

import zhihui.mobile.bean.shop.order.ShopOrder;
import zhihui.mobile.bean.wx.WeixinPayInfo;
import zhihui.mobile.presenter.IPresenter;
import zhihui.mobile.ui.IView;

/**
 * Created by 张公铭 on 2017/8/31 0031.
 */

public interface IShopOrderManagerContrat
{
    interface IShopOrderManagerView extends IView
    {
        void refreshList(List<ShopOrder> list);

        void ilPay(String data);

        void weixinPay(WeixinPayInfo payInfo);
    }

    interface IShopOrderManagerPresenter extends IPresenter
    {
        void refreshList(int status);

        void updateOrderStatus(String orderId, int status, int viewState);

        void alipay(String orderId, int money);

        void weixinpay(String orderId, int money);
    }
}
